{"total":<#if gridResult??>${gridResult?size!"0"}<#else>"0"</#if>, "rows":[
<#if gridResult??&&gridResult?size&gt;0>
    <#list gridResult as temp>
    {"bankid":"${temp[0]!""}","companyId":"${temp[2]!""}","companyName":"${temp[3]!""}","bankName":"${temp[1]!""}","saving":"${temp[4]!""}","loan":"${temp[5]!""}","type":"${temp[6]!""}"}<#if temp_has_next>,</#if>
    </#list>
</#if>
]}